<script lang="ts" setup>
import pdf from '~~/public/frontend.pdf'
import { getFileUrl } from '~/api/file'

const url = 'http://videodocument1.obs.cn-north-9.myhuaweicloud.com/health/20240523/20240523130103560564.pdf'
</script>

<template>
  <div>
    <ClientOnly>
      <PdfView :url="getFileUrl(url)" />
      <!-- <PdfView :url="pdf" /> -->
      <!-- <PdfViewer url="http://videodocument1.obs.cn-north-9.myhuaweicloud.com/health/20240523/20240523130103560564.pdf" /> -->
      <!-- <PdfViewer url="https://wmsj.gdwlcloud.com/upload/20240109/4165d1d223334b00aca96c6cd0330bd3.pdf" /> -->
    </ClientOnly>
  </div>
</template>

<style>

</style>
